﻿@model Coticula.Web.Models.Problems

@{
    ViewBag.Title = "Delete problem";
}

@{
    var pageMenu = new MvcHtmlString[] { Html.ActionLink("Problems", "Index") };
    ViewBag.PageMenu = pageMenu;
}

<h2>@ViewBag.Title</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Problem</legend>

    <div class="display-field">
        <h3>@Html.DisplayFor(model => model.Name)</h3>
    </div>

    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" />
        @Html.ActionLink("Cancel", "Details", "Problem", new { id = Model.Id }, null)
    </p>
}
